package com.mt.feign;

import com.mt.constants.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Wang
 * @Description
 * @date 2021/1/5-0:53
 */


@Component
@FeignClient(value = "mt-cinema-admin")
public interface CinemaAdminApiProvider {

    @GetMapping("/schedule/detail")
    Result getScheduleDetailInfo(@RequestParam("scheduleId") int scheduleId);
}
